package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.ViewRoomrec;

/**
 * VIEWMapper接口
 * 
 * @author ruoyi
 * @date 2021-12-04
 */
public interface ViewRoomrecMapper 
{
    /**
     * 查询VIEW
     * 
     * @param roomId VIEW主键
     * @return VIEW
     */
    public ViewRoomrec selectViewRoomrecByRoomId(Long roomId);

    /**
     * 查询VIEW列表
     * 
     * @param viewRoomrec VIEW
     * @return VIEW集合
     */
    public List<ViewRoomrec> selectViewRoomrecList(ViewRoomrec viewRoomrec);

    /**
     * 新增VIEW
     * 
     * @param viewRoomrec VIEW
     * @return 结果
     */
    public int insertViewRoomrec(ViewRoomrec viewRoomrec);

    /**
     * 修改VIEW
     * 
     * @param viewRoomrec VIEW
     * @return 结果
     */
    public int updateViewRoomrec(ViewRoomrec viewRoomrec);

    /**
     * 删除VIEW
     * 
     * @param roomId VIEW主键
     * @return 结果
     */
    public int deleteViewRoomrecByRoomId(Long roomId);

    /**
     * 批量删除VIEW
     * 
     * @param roomIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteViewRoomrecByRoomIds(Long[] roomIds);
}
